<fieldset>
<div>
  <%= label :student, :sid, "学号" %>
  <%= text_field :student, :sid %>
</div>
<div>
  <%= label :student, :name, "姓名" %>
  <%= text_field :student, :name %>
</div>
<div>
  <%= label :student, :sex, "性别" %>
  <%= select :student, :sex, {"女" => 'f', '男' => 'm'} %>
</div>
<div>
  <%= label :student, :birthday, '出生日期' %>
  <%= text_field :student, :birthday %> 
</div>
<div>
  <%= label :student, :school,  '所在学校' %>
  <%= text_field :student, :school %>
</div>
<div>
  <%= label :student, :specialty, '专业' %>
  <%= text_field :student, :specialty %>
</div>
<div>
  <%= label :student, :level, '入学程度' %>
  <%= text_field :student, :level %>
</div>
<div>
  <%= label :student, :enrolldate, '入学时间' %>
  <%= text_field :student, :enrolldate %>
</div>
<div>
  <%= label :student, :teacher_id,"指导老师" %>
  <%= select :student, :teacher_id, @teachers %>
</div>
</fieldset>
<fieldset>
  <div>
    <%= label :student, :experience, '培训经历' %>
    <br/>
    <%= text_area :student, :experience,:cols=>50,:rows=>5 %>
  </div>
  <div>
    <%= label :student, :suggestion, '中心意见' %>
    <br/>
    <%= text_area :student, :suggestion,:cols=>50,:rows=>5 %>
  </div>
  <div>
    <%= label :student, :objection, '家长意见' %>
    <br/>
    <%= text_area :student, :objection, :cols=>50, :rows=>5 %>
  </div>
</fieldset>
<script type="text/javascript">
  $(function(){
      $("#student_birthday").datebox();
      $("#student_enrolldate").datebox();
  });
</script>
